{% extends "Shop/shopbase.html" %}

{% block main %}

    {% load tag_cloud %}

    {% tag_cloud_for_model Shop.Product as tags with steps=6 min_count=1 distribution=log %}

    <div class="page-title">
        <h1>All Tags</h1>
    </div>
    <ul class="tags-list">
        {% for tag in tags %}
            <li><a href="/tag/{{tag.name|slugify}}/"
                   style="font-size:{{tag.font_size|get_font_size}}%">{{ tag.name }}</a></li>
        {% endfor %}
    </ul>
{% endblock %}